package com.fortune.service;

import com.faneui.common.exception.BusinessException;
import com.fortune.dal.model.Debt;

import java.util.List;

public interface DebtService {
    
    void addDebt(Debt debt) throws BusinessException;

    void modifyDebt(Debt debt) throws BusinessException ;

    void deleteDebt(Integer debtId)throws BusinessException ;

    Debt queryDebt(Integer debtId)throws BusinessException ;

    List<Debt> queryDebtList(Debt debt)throws BusinessException ;
    
}
